package com.webbei.HAO.action;

import com.webbei.HAO.service.ChSer;

public class CheckThirdPartyJson {
	private String openid;
	private ChSer ser;
	private String msg;
	public String execute(){
		System.out.println("checkThirdPartyJson.....");
		String username = ser.customercheck3(openid);
		System.out.println("username:"+username);
		if(username!=null&&!"".equals(username)){
			msg="true";
		}else{
			msg="false";
		}
		
		return "success";
	}
	public String getOpenid() {
		return openid;
	}
	public void setOpenid(String openid) {
		this.openid = openid;
	}
	public String getMsg() {
		return msg;
	}
	public void setMsg(String msg) {
		this.msg = msg;
	}
	public void setSer(ChSer ser) {
		this.ser = ser;
	}

}
